package com.fangzhi.service;

import com.fangzhi.mobel.OrderPayment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fangzhi.mobel.io.SaveOrderIo;
import com.fangzhi.mobel.io.SavePaymentIo;
import com.fangzhi.utils.ResponseResult;
import org.springframework.web.bind.annotation.RestController;

/**
* @author edy
* @description 针对表【order_payment】的数据库操作Service
* @createDate 2024-09-18 14:12:43
*/
public interface OrderPaymentService extends IService<OrderPayment> {

    Integer saveByOrderId(String orderId, SaveOrderIo.PaymenyIo paymenyIo);

    ResponseResult toExists(Integer id, Integer needStatus, Long roleId, Integer pass);

    ResponseResult savePayment(SavePaymentIo io);
}
